<!-- @format -->

<template>
  <tree-item v-bind="props" @select="$emit('select', $event)"></tree-item>
</template>

<script lang="ts" setup>
import { defineProps, defineEmits, ref } from 'vue'

const props = defineProps({
  item: {
    type: Object,
    required: true,
  },
  currentPath: {
    type: String,
  },
})

const emit = defineEmits(['select'])
</script>
